//
//  ColumnCollectionReusableView.m
//  14-HomeWork
//
//  Created by 李昊林 on 16/8/2.
//  Copyright © 2016年 李昊林. All rights reserved.
//

#import "ColumnCollectionReusableView.h"
@interface ColumnCollectionReusableView ()
@property (nonatomic, strong) UILabel *nameLable;
@property (nonatomic, strong) UIButton *searchAllButton;
@end
@implementation ColumnCollectionReusableView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _nameLable = [[UILabel alloc] initWithFrame:CGRectMake(10, 5, 50, 20)];
        _nameLable.text = @"品类";
        [self addSubview:_nameLable];
        _searchAllButton = [UIButton buttonWithType:UIButtonTypeCustom];
        _searchAllButton.frame = CGRectMake(frame.size.width - 100 - 10, 5, 100, 20);
        [_searchAllButton setTitle:@"查看全部 >" forState:UIControlStateNormal];
        [_searchAllButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
        [self addSubview:_searchAllButton];
        
    }
    return self;
}


@end
